/**
 * 
 */




$(function(){
	$("#demo_box").popmenu({
		  'controller': true,       //设定是否使用控制按钮，设置为false，菜单将一直显示
		  'width': '300px',         //菜单总宽度
		  'background': '#34495e',  //菜单背景色
		  'focusColor': '#f78e21',  //菜单按钮hover时颜色
		  'borderRadius': '0px',   //边角弧度，设置为0，为直角
		  'top': '-10',              //上移距离，向上移动多少就设置为多少
		  'left': '0',              //左移距离，设置同上
		  'iconSize': '100px'       //菜单按钮大小，目前是正方形设计（宽高相同）
		});
});


$(function(){
	$(".wheel-button").wheelmenu({
		  trigger: "hover", // Can be "click" or "hover". Default: "click"
		  animation: "fly", // Entrance animation. Can be "fade" or "fly". Default: "fade"
		  animationSpeed: "medium", // Entrance animation speed. Can be "instant", "fast", "medium", or "slow". Default: "medium"
		  angle: "[0,150]", // Angle which the menu will appear. Can be "all", "N", "NE", "E", "SE", "S", "SW", "W", "NW", or even array [0, 360]. Default: "all" or [0, 360]
		});
	
});



$(function(){
	$("#wheel").children().hover(function(){
		$(this).animate({backgroundColor: "rgba(0,0,0,0.8)"});
		},function(){
			$(this).animate({backgroundColor: "rgba(0,0,0,0.5)"});
		});
	
});



